﻿<Window x:Class="WpfApplication1.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Opgaver" Height="382" Width="530">
    <Grid>
        <Button Content="Slet valgte opgave" Height="23" HorizontalAlignment="Left" Margin="12,305,0,0" Name="button2" VerticalAlignment="Top" Width="157" Click="button2_Click" />
        <Button Content="Lav ny opgave" Height="23" HorizontalAlignment="Left" Margin="351,305,0,0" Name="button1" VerticalAlignment="Top" Width="140" Click="button1_Click" />
        <Button Content="Se indhold af valgte opgave" Height="23" HorizontalAlignment="Right" Margin="0,305,168,0" Name="button3" VerticalAlignment="Top" Width="160" Click="button3_Click" />
        <DataGrid AutoGenerateColumns="False" Height="257" HorizontalAlignment="Left" Margin="12,41,0,0" Name="dataGrid1" VerticalAlignment="Top" Width="479" IsReadOnly="True" CanUserSortColumns="False" SelectionMode="Single">
            <DataGrid.Columns>
                <DataGridTextColumn Header="Id" Binding="{Binding Id}"/>
                <DataGridTextColumn Header="Opgave" Binding="{Binding Name}"/>
                <!-- DataGridTextColumn Header="Udvikler" Binding="{Binding Creator}"/-->
            </DataGrid.Columns>
        </DataGrid>
        <Button Content="?" Height="23" HorizontalAlignment="Left" Margin="454,12,0,0" Name="button4" VerticalAlignment="Top" Width="37" Click="button4_Click" />
    </Grid>
</Window>
